/**
 * $Id: stdafx.h 30 2010-08-03 12:32:42Z bearice $
 *  include file for standard system include files,
 *  or project specific include files that are used frequently, 
 *  but are changed infrequently.
 * Copyright (C) 2010 Bearice
**/
#pragma once

#include "targetver.h"

#define D3D_DEBUG_INFO
// Windows Header Files:
#include <windows.h>

// C RunTime Header Files
#include <stdlib.h>
#include <malloc.h>
#include <memory.h>
#include <tchar.h>

//DirectX, Multimedia API
#pragma warning( disable : 4995 )
#pragma warning( disable : 4996 ) // disable deprecated warning 
#include <d3dx9.h>
#include <strsafe.h>
#include <mmsystem.h>

//Screen Saver API
#ifdef SCRNSAVER
#include <scrnsave.h>
#ifdef UNICODE
#pragma comment(lib, "ScrnSavW.lib")
#else
#pragma comment(lib, "ScrnSave.lib")
#endif
#pragma comment(lib, "ComCtl32.lib")
#endif

//libffmpeg
#include <libavformat/avformat.h>
#include <libswscale/swscale.h>

#define REPORT_ERROR(msg) MessageBox(hWnd,_T(msg),NULL,MB_OK|MB_ICONSTOP|MB_TOPMOST)